package com.erp.domain;

import com.erp.common.annotation.Excel;
import com.erp.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @Author:lxs
 * @CreateTime: 2025-09-05
 * @Description:出库审核扩展实体类
 */

public class OutboundAuditVO extends BaseEntity {
    private String outboundNo;       // 出库单号
    private String warehouseId;      // 仓库ID
    private String warehouseName;    // 仓库名称
    private String businessType;     // 业务类型
    private Integer productCount;    // 产品数量
    private String auditStatus;     // 审核状态
    private String initiator;       // 发起人
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发起时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;       // 创建时间
    private String approver;        // 审核人
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approveTime;       // 审核时间

    @Override
    public String toString() {
        return "OutboundAuditVO{" +
                "outboundNo='" + outboundNo + '\'' +
                ", warehouseId='" + warehouseId + '\'' +
                ", warehouseName='" + warehouseName + '\'' +
                ", businessType='" + businessType + '\'' +
                ", productCount=" + productCount +
                ", auditStatus='" + auditStatus + '\'' +
                ", initiator='" + initiator + '\'' +
                ", createTime=" + createTime +
                ", approver='" + approver + '\'' +
                ", approveTime=" + approveTime +
                "} " + super.toString();
    }

    public String getOutboundNo() {
        return outboundNo;
    }

    public void setOutboundNo(String outboundNo) {
        this.outboundNo = outboundNo;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public Integer getProductCount() {
        return productCount;
    }

    public void setProductCount(Integer productCount) {
        this.productCount = productCount;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getInitiator() {
        return initiator;
    }

    public void setInitiator(String initiator) {
        this.initiator = initiator;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getApprover() {
        return approver;
    }

    public void setApprover(String approver) {
        this.approver = approver;
    }

    public Date getApproveTime() {
        return approveTime;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }
}
